﻿// <copyright file="FteOwnerRequirement.Designer.cs" company="Microsoft">
// Copyright © 2010 All Right Reserved
// </copyright>
// <author>Dmitry Kazantsev</author>
// <date>2010-01-23</date>
// <summary>Contains DynamicGroupBuilder class</summary>

namespace Microsoft.Msit.ActivityLibrary
{
    using System.Workflow.Activities;
    using System.Workflow.ComponentModel;
    using Microsoft.ResourceManagement.Workflow.Activities;

    public partial class FteOwnerRequirement
    {
        #region Activity Designer generated code

        /// <summary> 
        /// Required method for Designer support - do not modify 
        /// the contents of this method with the code editor.
        /// </summary>
        //[DebuggerNonUserCode]
        private void InitializeComponent()
        {
            this.CanModifyActivities = true;
            System.Workflow.ComponentModel.ActivityBind activitybind1 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind2 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind3 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind4 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind5 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.Activities.Rules.RuleConditionReference ruleconditionreference1 = new System.Workflow.Activities.Rules.RuleConditionReference();
            System.Workflow.Activities.Rules.RuleConditionReference ruleconditionreference2 = new System.Workflow.Activities.Rules.RuleConditionReference();
            System.Workflow.Activities.Rules.RuleConditionReference ruleconditionreference3 = new System.Workflow.Activities.Rules.RuleConditionReference();
            System.Workflow.Activities.Rules.RuleConditionReference ruleconditionreference4 = new System.Workflow.Activities.Rules.RuleConditionReference();
            System.Workflow.Activities.Rules.RuleConditionReference ruleconditionreference5 = new System.Workflow.Activities.Rules.RuleConditionReference();
            System.Workflow.ComponentModel.ActivityBind activitybind6 = new System.Workflow.ComponentModel.ActivityBind();
            this.terminateAccessDenied = new System.Workflow.ComponentModel.TerminateActivity();
            this.codeVerifyFteStatus = new System.Workflow.Activities.CodeActivity();
            this.readResourceCurrentOwner = new Microsoft.ResourceManagement.Workflow.Activities.ReadResourceActivity();
            this.codeAssignCurrentOwner = new System.Workflow.Activities.CodeActivity();
            this.codeModifyEnumerateOwners = new System.Workflow.Activities.CodeActivity();
            this.readResourceTargetGroup = new Microsoft.ResourceManagement.Workflow.Activities.ReadResourceActivity();
            this.codeGetTargetId = new System.Workflow.Activities.CodeActivity();
            this.codeAddEnumerateOwners = new System.Workflow.Activities.CodeActivity();
            this.ifElseBranchIsNotApproved = new System.Workflow.Activities.IfElseBranchActivity();
            this.sequenceOwnerResolution = new System.Workflow.Activities.SequenceActivity();
            this.ifElseBranchModify = new System.Workflow.Activities.IfElseBranchActivity();
            this.ifElseBranchAdd = new System.Workflow.Activities.IfElseBranchActivity();
            this.ifElseIsApproved = new System.Workflow.Activities.IfElseActivity();
            this.whileOwnerEnumeration = new System.Workflow.Activities.WhileActivity();
            this.ifElseIsAdd = new System.Workflow.Activities.IfElseActivity();
            this.ifElseBranchIsQualified = new System.Workflow.Activities.IfElseBranchActivity();
            this.ifElseIsQualified = new System.Workflow.Activities.IfElseActivity();
            this.codeValidateRequest = new System.Workflow.Activities.CodeActivity();
            this.currentRequestActivity = new Microsoft.ResourceManagement.Workflow.Activities.CurrentRequestActivity();
            activitybind1.Name = "FteOwnerRequirement";
            activitybind1.Path = "AccessDenied";
            // 
            // terminateAccessDenied
            // 
            this.terminateAccessDenied.Name = "terminateAccessDenied";
            this.terminateAccessDenied.SetBinding(System.Workflow.ComponentModel.TerminateActivity.ErrorProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind1)));
            // 
            // codeVerifyFteStatus
            // 
            this.codeVerifyFteStatus.Name = "codeVerifyFteStatus";
            this.codeVerifyFteStatus.ExecuteCode += new System.EventHandler(this.ExecuteCodeVerifyFte);
            // 
            // readResourceCurrentOwner
            // 
            activitybind2.Name = "FteOwnerRequirement";
            activitybind2.Path = "ServiceAccountId";
            this.readResourceCurrentOwner.Name = "readResourceCurrentOwner";
            this.readResourceCurrentOwner.Resource = null;
            activitybind3.Name = "FteOwnerRequirement";
            activitybind3.Path = "CurrentOwnerId";
            this.readResourceCurrentOwner.SelectionAttributes = null;
            this.readResourceCurrentOwner.SetBinding(Microsoft.ResourceManagement.Workflow.Activities.ReadResourceActivity.ActorIdProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind2)));
            this.readResourceCurrentOwner.SetBinding(Microsoft.ResourceManagement.Workflow.Activities.ReadResourceActivity.ResourceIdProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind3)));
            // 
            // codeAssignCurrentOwner
            // 
            this.codeAssignCurrentOwner.Name = "codeAssignCurrentOwner";
            this.codeAssignCurrentOwner.ExecuteCode += new System.EventHandler(this.ExecuteCodeAssignCurrentOwner);
            // 
            // codeModifyEnumerateOwners
            // 
            this.codeModifyEnumerateOwners.Name = "codeModifyEnumerateOwners";
            this.codeModifyEnumerateOwners.ExecuteCode += new System.EventHandler(this.ExecuteCodeModifyEnumerateOwners);
            // 
            // readResourceTargetGroup
            // 
            activitybind4.Name = "FteOwnerRequirement";
            activitybind4.Path = "ServiceAccountId";
            this.readResourceTargetGroup.Name = "readResourceTargetGroup";
            this.readResourceTargetGroup.Resource = null;
            activitybind5.Name = "FteOwnerRequirement";
            activitybind5.Path = "TargetId";
            this.readResourceTargetGroup.SelectionAttributes = null;
            this.readResourceTargetGroup.SetBinding(Microsoft.ResourceManagement.Workflow.Activities.ReadResourceActivity.ActorIdProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind4)));
            this.readResourceTargetGroup.SetBinding(Microsoft.ResourceManagement.Workflow.Activities.ReadResourceActivity.ResourceIdProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind5)));
            // 
            // codeGetTargetId
            // 
            this.codeGetTargetId.Name = "codeGetTargetId";
            this.codeGetTargetId.ExecuteCode += new System.EventHandler(this.ExecuteCodeGetTargetId);
            // 
            // codeAddEnumerateOwners
            // 
            this.codeAddEnumerateOwners.Name = "codeAddEnumerateOwners";
            this.codeAddEnumerateOwners.ExecuteCode += new System.EventHandler(this.ExecuteCodeAddEnumerateOwners);
            // 
            // ifElseBranchIsNotApproved
            // 
            this.ifElseBranchIsNotApproved.Activities.Add(this.terminateAccessDenied);
            ruleconditionreference1.ConditionName = "IsNotApproved";
            this.ifElseBranchIsNotApproved.Condition = ruleconditionreference1;
            this.ifElseBranchIsNotApproved.Name = "ifElseBranchIsNotApproved";
            // 
            // sequenceOwnerResolution
            // 
            this.sequenceOwnerResolution.Activities.Add(this.codeAssignCurrentOwner);
            this.sequenceOwnerResolution.Activities.Add(this.readResourceCurrentOwner);
            this.sequenceOwnerResolution.Activities.Add(this.codeVerifyFteStatus);
            this.sequenceOwnerResolution.Name = "sequenceOwnerResolution";
            // 
            // ifElseBranchModify
            // 
            this.ifElseBranchModify.Activities.Add(this.codeGetTargetId);
            this.ifElseBranchModify.Activities.Add(this.readResourceTargetGroup);
            this.ifElseBranchModify.Activities.Add(this.codeModifyEnumerateOwners);
            ruleconditionreference2.ConditionName = "IsPut";
            this.ifElseBranchModify.Condition = ruleconditionreference2;
            this.ifElseBranchModify.Name = "ifElseBranchModify";
            // 
            // ifElseBranchAdd
            // 
            this.ifElseBranchAdd.Activities.Add(this.codeAddEnumerateOwners);
            ruleconditionreference3.ConditionName = "IsCreate";
            this.ifElseBranchAdd.Condition = ruleconditionreference3;
            this.ifElseBranchAdd.Name = "ifElseBranchAdd";
            // 
            // ifElseIsApproved
            // 
            this.ifElseIsApproved.Activities.Add(this.ifElseBranchIsNotApproved);
            this.ifElseIsApproved.Name = "ifElseIsApproved";
            // 
            // whileOwnerEnumeration
            // 
            this.whileOwnerEnumeration.Activities.Add(this.sequenceOwnerResolution);
            ruleconditionreference4.ConditionName = "IsEnumerated";
            this.whileOwnerEnumeration.Condition = ruleconditionreference4;
            this.whileOwnerEnumeration.Name = "whileOwnerEnumeration";
            // 
            // ifElseIsAdd
            // 
            this.ifElseIsAdd.Activities.Add(this.ifElseBranchAdd);
            this.ifElseIsAdd.Activities.Add(this.ifElseBranchModify);
            this.ifElseIsAdd.Name = "ifElseIsAdd";
            // 
            // ifElseBranchIsQualified
            // 
            this.ifElseBranchIsQualified.Activities.Add(this.ifElseIsAdd);
            this.ifElseBranchIsQualified.Activities.Add(this.whileOwnerEnumeration);
            this.ifElseBranchIsQualified.Activities.Add(this.ifElseIsApproved);
            ruleconditionreference5.ConditionName = "IsQualified";
            this.ifElseBranchIsQualified.Condition = ruleconditionreference5;
            this.ifElseBranchIsQualified.Name = "ifElseBranchIsQualified";
            // 
            // ifElseIsQualified
            // 
            this.ifElseIsQualified.Activities.Add(this.ifElseBranchIsQualified);
            this.ifElseIsQualified.Name = "ifElseIsQualified";
            // 
            // codeValidateRequest
            // 
            this.codeValidateRequest.Name = "codeValidateRequest";
            this.codeValidateRequest.ExecuteCode += new System.EventHandler(this.ExecuteCodeValidateRequestActivity);
            // 
            // currentRequestActivity
            // 
            activitybind6.Name = "FteOwnerRequirement";
            activitybind6.Path = "CurrentRequest";
            this.currentRequestActivity.Name = "currentRequestActivity";
            this.currentRequestActivity.SetBinding(Microsoft.ResourceManagement.Workflow.Activities.CurrentRequestActivity.CurrentRequestProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind6)));
            // 
            // FteOwnerRequirement
            // 
            this.Activities.Add(this.currentRequestActivity);
            this.Activities.Add(this.codeValidateRequest);
            this.Activities.Add(this.ifElseIsQualified);
            this.Name = "FteOwnerRequirement";
            this.CanModifyActivities = false;

        }

        private TerminateActivity terminateAccessDenied;
        private IfElseBranchActivity ifElseBranchIsNotApproved;
        private IfElseActivity ifElseIsApproved;
        private ReadResourceActivity readResourceCurrentOwner;
        private CodeActivity codeAddEnumerateOwners;
        private IfElseBranchActivity ifElseBranchModify;
        private IfElseBranchActivity ifElseBranchAdd;
        private IfElseActivity ifElseIsAdd;
        private ReadResourceActivity readResourceTargetGroup;
        private IfElseBranchActivity ifElseBranchIsQualified;
        private IfElseActivity ifElseIsQualified;
        private CodeActivity codeVerifyFteStatus;
        private SequenceActivity sequenceOwnerResolution;
        private CodeActivity codeModifyEnumerateOwners;
        private WhileActivity whileOwnerEnumeration;
        private CodeActivity codeAssignCurrentOwner;
        private CodeActivity codeValidateRequest;
        private CurrentRequestActivity currentRequestActivity;
        private CodeActivity codeGetTargetId;

        #endregion Activity Designer generated code
    }
}
